<!-- {include file="header.html"} -->
<!--{literal}-->
<script language='JavaScript'>
function myKeyPress(e) { 
   if (window.event) { e = event; e.which = e.keyCode; } else if (!e.which) e.which = e.keyCode; 
   var code = e.which; 
   if (code<=57) {
       return true; 
   } 
   return false; 
}
</script>
<!--{/literal}-->
<div id="currentPosition">
	<p>{lang your_current_position} {lang ads} &raquo; {lang service_manage}</p>
</div>
<div id="rightTop"> 
    <h3>{lang service_manage}</h3> 
    <ul class="subnav"> 
		<li><a href="goods.php">{lang lists}</a></li>
        <li><a class="btn1" href="goods.php?do=edit"><span>{lang add_or_edit}</span></a></li>
        <li><a href="goods_cat.php"><span>{lang sorts}</span></a></li>
    </ul> 
</div> 
<div class="info">
  <form method="post" action="goods.php" id="EditFrm" name="edit_frm">
  <input type="hidden" name="id" value="{$item.id}" />
  <input type="hidden" name="page" value="{$smarty.get.page}" />
    <table class="infoTable">
      <tr>
        <th class="paddingT15"> {lang show_name}</th>
        <td class="paddingT15 wordSpacing5">          
		<input class="infoTableInput2" name="goods[name]" value="{$item.name}" /></td>
      </tr>
      <tr>
        <th class="paddingT15"> {lang the_price}{lang colon}</th>
        <td class="paddingT15 wordSpacing5">          
		<input class="infoTableInput2" name="goods[price]" value="{$item.price}" onkeypress="return myKeyPress(event)"
onpaste="return !clipboardData.getData('text').match(/\D/)"
ondragenter="return false"
style="ime-mode:Disabled" /></td>
      </tr>
      <tr>
        <th class="paddingT15">{lang description_n}</th>
        <td class="paddingT15 wordSpacing5"><textarea style="width:550px;height:100px;" name="goods[description]">{$item.description}</textarea></td>
      </tr>
      
      <tr>
        <th></th>
        <td class="ptb20">
			<input class="formbtn" type="submit" name="save" value="{lang save}" />		</td>
      </tr>
    </table>
  </form>
</div>
{editor type="tiny_mce"}
<!-- {include file="footer.html"} -->